package com.yc.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yc.entities.BloodSugarBed;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.entities.custom.CustomBedInfoQueryResponseBean;
import com.yc.entities.custom.CustomBedQueryResponseBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 院内床位信息表 Mapper 接口
 * </p>
 *
 * @author kuakha
 * @since 2021-04-07
 */
public interface BloodSugarBedMapper extends BaseMapper<BloodSugarBed> {

    List<CustomBedQueryResponseBean> getAllBedNum(Page<Integer> page, @Param("deanId") Integer deanId, @Param("departmentId")Integer departmentId);

    List<CustomBedInfoQueryResponseBean> getBedInfo(Page<Integer> page, @Param("deanId") Integer deanId, @Param("departmentId")Integer departmentId);

    List<CustomBedQueryResponseBean> getAllBedNumBox(Integer deanId, Integer departmentId);
}
